package com.txl.seckill.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/** 页面跳转-登录
 *
 */

@RestController
@RequestMapping("/login")
@Slf4j //lombok注解,打印日志
public class LoginController {
    /** 跳转至登录页面 */
    @RequestMapping("/toLogin")
    public String toLogin(){
        return "login";
    }
}
